package cn.xu.liteflow.script;

import com.yomahub.liteflow.script.ScriptExecuteWrap;

import java.util.concurrent.Callable;

/**
 * @Author xuguofei clark2021@qq.com || WX clark_2023
 * @Date 2024/3/9
 * @Desc TODO
 **/
public class CommonT {

    public static Void test(ScriptExecuteWrap wrap, Callable<Void> setPamasCall) {
        try {
            return setPamasCall.call();
        } catch (Exception e) {
            throw new RuntimeException();
        }
    }
}
